//
//  ManageController
//  GroceryStoryboards
//
//  Created by jose on 10/03/13.
//  Copyright (c) 2013 Jose Luis Lopez. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GAITrackedViewController.h"

@interface ManageController : GAITrackedViewController <UIScrollViewDelegate, UITextFieldDelegate, UIAlertViewDelegate> {
    BOOL isNew;
}

@property (weak, nonatomic) IBOutlet UILabel *backLabel;

// Main elements
@property (weak, nonatomic) IBOutlet UILabel *groceryLabel;
@property (weak, nonatomic) IBOutlet UIScrollView *mainScrollView;

// Source components of the groceryLabel
@property (nonatomic, retain) NSString *firstSubstring;
@property (nonatomic, retain) NSString *secondSubstring;
@property (nonatomic, retain) NSString *thirdSubstring;
@property (nonatomic, retain) NSString *fourthSubstring;

@property (nonatomic, retain) Item *item;

- (IBAction)backPressed:(UIButton *)sender;
@property NSInteger unityIndex;

@end
